var mongoose = require('mongoose'),
  materializedPlugin = require('mongoose-materialized');

var CateSchema = new mongoose.Schema({
  type: Number,
  text: { type: String }
});

CateSchema.plugin(materializedPlugin);
module.exports = mongoose.model('Cate', CateSchema); // Model.paginate()
